@import '~ant-design-vue/es/style/themes/default.less';

html,
body,
#app, #root {
  height: 100%;
}

input::-webkit-input-placeholder {
  color: #D6DFEC!important;
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout.layout-basic {
  height: 100vh;
  min-height: 100vh;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

// 数据列表 样式
.table-alert {
  margin-bottom: 16px;
}
// 数据列表 操作
.table-operator {
  margin-bottom: 18px;

  button {
    margin-right: 8px;
  }
}
// 数据列表 搜索条件
.table-page-search-wrapper {

  .ant-form-inline {
    .ant-form-item {
      display: flex;
      margin-bottom: 24px;
      margin-right: 0;

      .ant-form-item-control-wrapper {
        flex: 1 1;
        display: inline-block;
        vertical-align: middle;
      }

      > .ant-form-item-label {
        line-height: 32px;
        padding-right: 8px;
        width: auto;
      }
      .ant-form-item-control {
        height: 32px;
        line-height: 32px;
      }
    }
  }

  .table-page-search-submitButtons {
    display: block;
    margin-bottom: 24px;
    white-space: nowrap;
  }
}

// 数据列表 搜索条件
.form-wrapper {
  .ant-form-inline {
    .ant-form-item {
      display: flex;
      height: 45px;
      margin-bottom: 24px;
      margin-right: 0;

      .ant-form-item-control-wrapper {
        flex: 1 1;
        display: inline-block;
        vertical-align: middle;
      }
    }
  }
}

// 数据列表 搜索条件
.table-page-search-wrapper {
  .ant-form-inline {
    .ant-form-item {
      display: flex;
      margin-bottom: 24px;
      margin-right: 0;

      .ant-form-item-control-wrapper {
        flex: 1 1;
        display: inline-block;
        vertical-align: middle;
      }

      >.ant-form-item-label {
        line-height: 32px;
        padding-right: 8px;
        width: auto;
      }

      .ant-form-item-control {
        min-height: 32px;
        line-height: 32px;
      }
    }
  }

  .table-page-search-submitButtons {
    display: block;
    margin-bottom: 24px;
    white-space: nowrap;
  }
}



// 数据列表 搜索条件
.table-page-search-wrappers {
  .ant-form-inline {
    .ant-form-item {
      display: flex;
      margin-bottom: 18px;
      margin-right: 0;

      .ant-form-item-control-wrapper {
        flex: 1 1;
        display: inline-block;
        vertical-align: middle;
      }

      >.ant-form-item-label {
        line-height: 32px;
        padding-right: 8px;
        width: auto;
      }

      .ant-form-item-control {
        min-height: 32px;
        line-height: 32px;
      }
    }
  }

  .table-page-search-submitButtons {
    display: block;
    margin-bottom: 24px;
    white-space: nowrap;
  }
 /* search下datePicker 长度自适应父级宽度 */
  .ant-calendar-picker {
    width: 100%;
  }
}

@media (max-width: @screen-xs) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}

/* 顶部logo宽度 */
#logo {
  width:290px;
}





/* 业务部分覆盖 */
.overview-detail{
  .expense{
    .ant-descriptions-title{
      margin-top: 4px;
      margin-bottom: 0px;
    }
  }
}

/* 流程流程样式重塑 */
.approval{
  .ant-steps-item {
    .ant-steps-item-icon {
      background: #1890ff;
      border: 1px solid #4a94ff;
      .ant-steps-icon {
        color: #fff;
      }
    }
    .ant-steps-item-title{
      color: #000 !important;
      font-weight:500
    }
    .ant-steps-item-description{
      color: rgba(0, 0, 0, 0.65)!important;
    }
  }
}

.clear-padding .ant-table-title{
  padding-left: 0px !important;
  padding-right: 0px !important;
}

.clear-padding {
  .ant-descriptions, .table-page-search-wrapper{
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}
// 路由标题缩小padding 否则会将右侧的角色标识挤下去
.ant-menu-item {
  padding: 0 12px!important;
}